#!/bin/sh

tmp_folder=$1
touch ${tmp_folder}/jstat_gcutil_1000.log
process_id=$2

jstat -gcutil ${process_id} 1000 >> ${tmp_folder}/jstat_gcutil_1000.log